package com.mall.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mall.entity.Goods;
import com.mall.entity.RecommendGoods;

import java.util.List;

/**
 * @author ShouPeng
 * @since 2024-01-15
 * 推荐商品服务类
 */
public interface IRecommendGoodsService {

    /**
     * 查询推荐商品
     * @param page 页码
     * @return goods
     */
    IPage<RecommendGoods> queryRecommendGoods(Page<RecommendGoods> page);


    /**
     * @return goods
     */
    List<Goods> queryRecommendGoods();
}
